package com.qzxy.premiumhotelsystem.domain.vo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 李佳添
 * @version 1.0
 * @description
 * @date 2024/9/16 21:46 周一
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginVo implements Serializable {
//    private String email;
    @NotBlank(message = "telephone不能为空")
    private String telephone;
    @NotBlank(message = "password不能为空")
    private String password;
}
